<?php

use yii\base\Component;

/**
 * 支付接口
 */
abstract class Pay extends Component{

    /**
     * 预支付订单
     * @param $order
     * @param array $options
     * @return array
     */
    abstract public function prePay($order, $options = []);

    abstract public function payCallback($notifyData);

    abstract public function refundCallback($notifyData);

    abstract public function settlementCallback($notifyData);

}